package com.zkjl.protect_business.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
@ApiModel(description = "路由VO")
public class RouteVO {

    @ApiModelProperty(notes = "名称")
    private String name;

    @ApiModelProperty(notes = "所需权限")
    private Object authority;

    @ApiModelProperty(notes = "id")
    private String id;

    @ApiModelProperty(notes = "路径")
    private String path;

    @ApiModelProperty(notes = "排序")
    private Integer sort;

    @ApiModelProperty(notes = "路由")
    private String router = "business";

    @ApiModelProperty(notes = "是否隐藏")
    private Boolean invisible ;

    @ApiModelProperty(notes = "子路由")
    public List<RouteVO> children;

}
